package cn.ad.entity;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * 广告尺寸
 */
@Alias("creativeFormatMaterialSpec")
public class CreativeFormatMaterialSpec extends PO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1069274882040267513L;

	/**
	 * 创意形式标识，目前采用广告形式的的标识，对应ad_format.id
	 */
	private int formatId;

	/**
	 * 素材宽高尺寸标识，对应ad_size.id
	 */
	private int adSizeId;

	/**
	 * 最大尺寸，单位KB
	 */
	private int size;

	/**
	 * 素材格式枚举类型 1 - jpg 2 - png 3 - gif 4 - text 5 - mp4 6 - flv
	 */
	private int format;

	/**
	 * 创建时间
	 */
	private Date createDate;

	/**
	 * 更新时间
	 */
	private Date updateDate;

	public int getFormatId() {
		return formatId;
	}

	public void setFormatId(int formatId) {
		this.formatId = formatId;
	}

	public int getAdSizeId() {
		return adSizeId;
	}

	public void setAdSizeId(int adSizeId) {
		this.adSizeId = adSizeId;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public int getFormat() {
		return format;
	}

	public void setFormat(int format) {
		this.format = format;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
}
